package ltd.newbee.mall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Film {
    //影片id
    private Integer filmId;
    //影片名称
    private String filmName;
    //影片类型
    private String filmType;
    //影片图片
    private String filmPhoto;
    //导演
    private String filmDirect;
    //主演
    private String fileKbs;
    //时长
    private Integer fileTime;
    //地区
    private String fileZone;
    //上映日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fileReleaseTime;
    //票价
    private Integer fileFares;
    //剧情
    private String filePlot;
    //上架
    private Integer filmSellStatus;

    public int getFilmSellStatus() {
        return filmSellStatus;
    }

    public void setFilmSellStatus(int filmSellStatus) {
        this.filmSellStatus = filmSellStatus;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName == null ? null : filmName.trim();
    }

    public String getFilmType() {
        return filmType;
    }

    public void setFilmType(String filmType) {
        this.filmType = filmType == null ? null : filmType.trim();
    }

    public String getFilmPhoto() {
        return filmPhoto;
    }

    public void setFilmPhoto(String filmPhoto) {
        this.filmPhoto = filmPhoto == null ? null : filmPhoto.trim();
    }

    public String getFilmDirect() {
        return filmDirect;
    }

    public void setFilmDirect(String filmDirect) {
        this.filmDirect = filmDirect == null ? null : filmDirect.trim();
    }

    public String getFileKbs() {
        return fileKbs;
    }

    public void setFileKbs(String fileKbs) {
        this.fileKbs = fileKbs == null ? null : fileKbs.trim();
    }

    public Integer getFileTime() {
        return fileTime;
    }

    public void setFileTime(Integer fileTime) {
        this.fileTime = fileTime;
    }

    public String getFileZone() {
        return fileZone;
    }

    public void setFileZone(String fileZone) {
        this.fileZone = fileZone == null ? null : fileZone.trim();
    }

    public Date getFileReleaseTime() {
        return fileReleaseTime;
    }

    public void setFileReleaseTime(Date fileReleaseTime) {
        this.fileReleaseTime = fileReleaseTime;
    }

    public Integer getFileFares() {
        return fileFares;
    }

    public void setFileFares(Integer fileFares) {
        this.fileFares = fileFares;
    }

    public String getFilePlot() {
        return filePlot;
    }

    public void setFilePlot(String filePlot) {
        this.filePlot = filePlot == null ? null : filePlot.trim();
    }
}